<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<a href="https://www.icoconverter.com/">在线生成ICO</a> <p>
<canvas id="myCanvas" width="256" height="256" style="border:1px solid #d3d3d3;">

</canvas>
<script>
let a = 0.22;
let b = 1.78;

var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
ctx.lineWidth = 36;
ctx.lineCap="round";
ctx.lineJoin="round";
ctx.shadowBlur=5;
ctx.shadowColor="black";
ctx.strokeStyle = "black"
ctx.beginPath();
ctx.arc(128,128,96,a*Math.PI,b*Math.PI);
ctx.stroke();
ctx.beginPath();
ctx.moveTo(110,128-40);
ctx.lineTo(110,128+40);
ctx.lineTo(178,128);
ctx.closePath();
ctx.stroke();

ctx.shadowBlur=2;
ctx.lineWidth = 26;
ctx.strokeStyle = "#ffffff"

ctx.beginPath();
ctx.arc(128,128,96,a*Math.PI,b*Math.PI);
ctx.stroke();
ctx.beginPath();
ctx.moveTo(110,128-40);
ctx.lineTo(110,128+40);
ctx.lineTo(178,128);
ctx.closePath();
ctx.stroke();

ctx.shadowBlur=0;
ctx.fillStyle = "#ffffff"
ctx.beginPath();
ctx.moveTo(110,128-30);
ctx.lineTo(110,128+30);
ctx.lineTo(179,128);
ctx.closePath();
ctx.fill();

</script> 

</body>
</html>